package com.heima.service.impl;

import com.heima.pojo.dto.BusinessDto;
import com.heima.mapper.BusinessMapper;
import com.heima.service.IBusinessService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商圈表 服务实现类
 * </p>
 *
 * @author 存折
 * @since 2024-10-20
 */
@Service
public class BusinessServiceImpl extends ServiceImpl<BusinessMapper, BusinessDto> implements IBusinessService {
@Autowired
private BusinessMapper businessMapper;
    @Override
    public List<BusinessDto> select() {
   List<BusinessDto> list=  businessMapper.select();
   return list;
    }
}
